package com.job.sun;

/**
 * @author 张春阳
 * @version 1.0
 * @since 2022-07-07 11:10:27
 */
public class HomeWorkFour0705 {
    public static void main(String[] args) {
        int max=0;
        for(int i=1;i<=4;i++){
            for(int j=1;j<=4;j++){
                for(int k=1;k<=4;k++){
                    int num;
                    if(i!=j&&i!=k&&j!=k){
                        num=i*100+j*10+k;
                        System.out.println(num);
                        max++;
                    }


                }
            }
        }
        System.out.println("最后有"+max+"种结果");
    }
}